package com.apes.scm.rcl.parser;

import com.apes.framework.api.DomainService;
import com.apes.framework.util.MapUtil;
import com.apes.scm.rcl.model.RclTask;
import lombok.Data;

import java.util.Date;

/**
 * 内部方法调用解析器
 *
 * @author wuq
 * @create 2019-12-05 11:46
 */
@Data
public class EsbTask extends DomainService implements Task {

    private String esbId;

    @Override
    public void execute(Date taskDate) {
        invoke(esbId, MapUtil.mapper("taskDate", taskDate));
    }
}
